package com.bsoft.hospitalchs.model;

import com.google.gson.Gson;

/**
 * Created by 泅渡者
 * Created on 2017/5/26.
 * 预检登记请求实体
 */

public class InspectBean {

    /**
     * serviceId :
     * serviceAction :
     * method :
     * body : {"EMPIID":"","BODYTEMPERATURE":"","HEARTRATE":"","PULSERATE":"","WEIGHT":"","HEIGHT":"","DBP":"","SBP":""}
     */

    private String serviceId;
    private String serviceAction;
    private String method;
    private BodyBean body;

    public InspectBean() {
    }

    public InspectBean(String serviceId, String serviceAction, String method, BodyBean body) {
        this.serviceId = serviceId;
        this.serviceAction = serviceAction;
        this.method = method;
        this.body = body;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceAction() {
        return serviceAction;
    }

    public void setServiceAction(String serviceAction) {
        this.serviceAction = serviceAction;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        @Override
        public String toString() {
            return new Gson().toJson(this);
        }

        /**
         * EMPIID :
         * BODYTEMPERATURE :
         * HEARTRATE :
         * PULSERATE :
         * WEIGHT :
         * HEIGHT :
         * DBP :
         * SBP :
         *
         */

        private String EMPIID;
        private String BODYTEMPERATURE;
        private String HEARTRATE;
        private String PULSERATE;
        private String WEIGHT;
        private String HEIGHT;
        private String DBP;
        private String SBP;
        private String PREFLIGHTTYPE ;
        private String REMARK ;

        public BodyBean() {
        }

        public BodyBean(String EMPIID, String BODYTEMPERATURE, String HEARTRATE, String PULSERATE, String WEIGHT, String HEIGHT, String DBP, String SBP,String PREFLIGHTTYPE,String REMARK) {
            this.EMPIID = EMPIID;
            this.BODYTEMPERATURE = BODYTEMPERATURE;
            this.HEARTRATE = HEARTRATE;
            this.PULSERATE = PULSERATE;
            this.WEIGHT = WEIGHT;
            this.HEIGHT = HEIGHT;
            this.DBP = DBP;
            this.SBP = SBP;
            this.PREFLIGHTTYPE = PREFLIGHTTYPE;
            this.REMARK = REMARK;
        }

        public String getEMPIID() {
            return EMPIID;
        }

        public void setEMPIID(String EMPIID) {
            this.EMPIID = EMPIID;
        }

        public String getBODYTEMPERATURE() {
            return BODYTEMPERATURE;
        }

        public void setBODYTEMPERATURE(String BODYTEMPERATURE) {
            this.BODYTEMPERATURE = BODYTEMPERATURE;
        }

        public String getHEARTRATE() {
            return HEARTRATE;
        }

        public void setHEARTRATE(String HEARTRATE) {
            this.HEARTRATE = HEARTRATE;
        }

        public String getPULSERATE() {
            return PULSERATE;
        }

        public void setPULSERATE(String PULSERATE) {
            this.PULSERATE = PULSERATE;
        }

        public String getWEIGHT() {
            return WEIGHT;
        }

        public void setWEIGHT(String WEIGHT) {
            this.WEIGHT = WEIGHT;
        }

        public String getHEIGHT() {
            return HEIGHT;
        }

        public void setHEIGHT(String HEIGHT) {
            this.HEIGHT = HEIGHT;
        }

        public String getDBP() {
            return DBP;
        }

        public void setDBP(String DBP) {
            this.DBP = DBP;
        }

        public String getSBP() {
            return SBP;
        }

        public void setSBP(String SBP) {
            this.SBP = SBP;
        }

        public String getPREFLIGHTTYPE() {
            return PREFLIGHTTYPE;
        }

        public void setPREFLIGHTTYPE(String PREFLIGHTTYPE) {
            this.PREFLIGHTTYPE = PREFLIGHTTYPE;
        }

        public String getREMARK() {
            return REMARK;
        }

        public void setREMARK(String REMARK) {
            this.REMARK = REMARK;
        }
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
